package com.ktgj.train.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 订单付款记录对象 train_order_payrecord
 * 
 * @author ruoyi
 * @date 2021-11-29
 */
public class TrainOrderPayrecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long recordid;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String ordernumber;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal payamount;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String result;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String paychannels;

    /** 平台交易号 */
    @Excel(name = "平台交易号")
    private String platformtradenumber;

    /** 平台支付号 */
    @Excel(name = "平台支付号")
    private String platformpaynumber;

    /** 交易流水号 */
    @Excel(name = "交易流水号")
    private String tradeserialnumber;

    /** 1消费 2退款 */
    @Excel(name = "1消费 2退款")
    private Long paytype;

    /** 支付渠道，如易宝 */
    @Excel(name = "支付渠道，如易宝")
    private String payplace;

    public void setRecordid(Long recordid) 
    {
        this.recordid = recordid;
    }

    public Long getRecordid() 
    {
        return recordid;
    }
    public void setOrdernumber(String ordernumber) 
    {
        this.ordernumber = ordernumber;
    }

    public String getOrdernumber() 
    {
        return ordernumber;
    }
    public void setPayamount(BigDecimal payamount) 
    {
        this.payamount = payamount;
    }

    public BigDecimal getPayamount() 
    {
        return payamount;
    }
    public void setResult(String result) 
    {
        this.result = result;
    }

    public String getResult() 
    {
        return result;
    }
    public void setPaychannels(String paychannels) 
    {
        this.paychannels = paychannels;
    }

    public String getPaychannels() 
    {
        return paychannels;
    }
    public void setPlatformtradenumber(String platformtradenumber) 
    {
        this.platformtradenumber = platformtradenumber;
    }

    public String getPlatformtradenumber() 
    {
        return platformtradenumber;
    }
    public void setPlatformpaynumber(String platformpaynumber) 
    {
        this.platformpaynumber = platformpaynumber;
    }

    public String getPlatformpaynumber() 
    {
        return platformpaynumber;
    }
    public void setTradeserialnumber(String tradeserialnumber) 
    {
        this.tradeserialnumber = tradeserialnumber;
    }

    public String getTradeserialnumber() 
    {
        return tradeserialnumber;
    }
    public void setPaytype(Long paytype) 
    {
        this.paytype = paytype;
    }

    public Long getPaytype() 
    {
        return paytype;
    }
    public void setPayplace(String payplace) 
    {
        this.payplace = payplace;
    }

    public String getPayplace() 
    {
        return payplace;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordid", getRecordid())
            .append("ordernumber", getOrdernumber())
            .append("payamount", getPayamount())
            .append("result", getResult())
            .append("paychannels", getPaychannels())
            .append("platformtradenumber", getPlatformtradenumber())
            .append("platformpaynumber", getPlatformpaynumber())
            .append("tradeserialnumber", getTradeserialnumber())
            .append("paytype", getPaytype())
            .append("payplace", getPayplace())
            .toString();
    }
}
